package com.yjt.admin.system.entity;

import com.yjt.common.entity.CommonEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 员工角色表
 * </p>
 *
 * @author zzp
 * @since 2021-10-12
 */
@Data
@AllArgsConstructor
@Accessors(chain = true)
@TableName("b_emp_role")
@ApiModel(value="EmpRole对象", description="员工角色表")
public class EmpRole  implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "emp_role_id", type = IdType.ASSIGN_ID)
    private String empRoleId;

    @ApiModelProperty(value = "员工id")
    private String emplyId;

    @ApiModelProperty(value = "角色id")
    private String roleId;


}
